home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4391 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VC++4.0 Unresolved External
  5. Date: 30 Jan 1996 03:24:23 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4ek317$hm@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe6.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 29, 1996 17:53:34 in article <VC++4.0 Unresolved External>,
  15. 'dougbt@ids.net' wrote: 
  16.  
  17. >Hello, sorry for the newbie question, please email me w/ response to avoid
  18.  
  19. >problems. 
  20. >[Q] Running VC++ V.4.0 and trying to run the Easytext example from the
  21. Sams 
  22. >Programming Windows 95 book. The code was downloaded from the author's 
  23. >archive at sams ftp site. Why when I go to build the .exe file does it 
  24. >keep telling me 'libcr.o (crt.o) Link error, unresolved external _main' 
  25. >(it's not exact, but very close to that...) Thank you very much for help 
  26. >in advance, I'm pretty well versed in C, but this C++/Windows stuff is  
  27. >driving me absolutely nuts.  
  28. Make sure that your project type matches your code.  For example, 
  29. if you're using WinMain as your entry point, declaring your project 
  30. as a Console App would result in _main not being defined. 
  31.  
  32. Is this a GUI or Console App?  If you don't know and still have 
  33. problems, post some code -- preferably in newsgroup  
  34. comp.os.ms-windows.programmer. 
  35.  
  36. -- 
  37. Pete Grant 
  38. Kalevi, Inc. 
  39. Object Oriented Software Development
  40.